package com.tom.pojo;

import java.math.BigDecimal;

public class OrderFood {
    private Integer id;

    private Integer orderId;

    private Integer restaurantId;

    private Integer foodId;

    private Integer number;

    private BigDecimal price;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getRestaurantId() {
        return restaurantId;
    }

    public void setRestaurantId(Integer restaurantId) {
        this.restaurantId = restaurantId;
    }

    public Integer getFoodId() {
        return foodId;
    }

    public void setFoodId(Integer foodId) {
        this.foodId = foodId;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String toString() {
        return "OrderFood{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", restaurantId=" + restaurantId +
                ", foodId=" + foodId +
                ", number=" + number +
                ", price=" + price +
                '}';
    }
}